$(function () {
    selectGroupCode();
})
function selectGroupCode() {
    let data = myAjax("/group/selectGroupCode","","post");
    data = data.list;
    console.log(data);
    let html ='';
    for (let i = 0 ;i<data.length;i++){
        html+='<tr>' +
            '<td>'+data[i].id+'</td>\n' +
            '            <td>'+data[i].groupNumber+'</td>\n' +
            '            <td>'+data[i].groupName+'</td>\n' +
            '            <td>'+data[i].leaderNumber+'</td>\n' +
            '            <td>'+data[i].leaderName+'</td>\n' +
            '            <td>'+data[i].count+'</td>\n' +
            '            <td>'+data[i].creattime+'</td>\n' +
            '            <td><a href="" style="color: #1E9FFF">编辑</a>&nbsp;&nbsp;\n' +
            '                <a href="" style="color: red">删除</a></td>\n'+
            '</tr>'
    }
    $("#personnelManage").html(html);
}